package com.clhbolg.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.*;

/**
 * 【请填写功能名称】对象 t_resource
 *
 * @author cailinhu
 * @date 2023-02-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_resource")
public class Resource extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 资源名
     */
    private String resourceName;
    /**
     * 权限路径
     */
    private String url;
    /**
     * 请求方式
     */
    private String requestMethod;
    /**
     * 父模块id
     */
    private Long parentId;
    /**
     * 是否匿名访问 0否 1是
     */
    private Integer isAnonymous;

}
